package com.ruoyi.project.configureSystem.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 工艺类型查询对象 v_datatype
 * 
 * @author wangshuo
 * @date 2021-01-08
 */
public class VDatatype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 工艺类型编号 */
    @Excel(name = "工艺类型编号")
    private String typeSn;

    /** 工艺类型名称 */
    @Excel(name = "工艺类型名称")
    private String typeName;

    /** 是否删除：1表示已删除的意思，0表示未删除 */
    @Excel(name = "是否删除：1表示已删除的意思，0表示未删除")
    private Integer isDelete;

    /** 备注 */
    @Excel(name = "备注")
    private String text;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date create_time;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeSn(String typeSn) 
    {
        this.typeSn = typeSn;
    }

    public String getTypeSn() 
    {
        return typeSn;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeSn", getTypeSn())
            .append("typeName", getTypeName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isDelete", getIsDelete())
            .append("text", getText())
            .toString();
    }
}
